package com.santoker.gateway.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * 配置文件属性
 *
 * @author jiangs
 */
@Component
@RefreshScope
@Data
public class ConfigProperty {

    @Value("${opendebug}")
    public boolean isOpenDebug;

}
